import 'package:json_annotation/json_annotation.dart';

part 'terms_coordinates.g.dart';

@JsonSerializable()
class TermsCoordinates extends Object {
  String? coordinate;
  @JsonKey(name: "ownership_area")
  String? ownerShipArea;
  @JsonKey(name: "ownership_direction")
  String? ownerShipDirection;
  String? line;
  String? direction;
  @JsonKey(name: "special_definition")
  String? specialDefinition;

  TermsCoordinates();

  factory TermsCoordinates.fromJson(Map<String, dynamic> srcJson) =>
      _$TermsCoordinatesFromJson(srcJson);

  Map<String?, dynamic> toJson() => _$TermsCoordinatesToJson(this);
}
